package com.tmptSource.service.intf;

import java.util.Map;

import com.tmpt.dto.Result;
import com.tmptSource.dto.*;

public interface IOwrTmpPairService {
	//public Result randomExecute();

	/**
	 * 双随机-工地生成任务清单-手动
	 * @param owrDoubleTaskPairDto
	 * @return
	 */
	public Result exeBuildingQuartz(OwrDoubleTaskPairDto owrDoubleTaskPairDto);

	/**
	 * 双随机-餐厨生成任务清单-手动
	 * @param owrDoubleTaskPairDto
	 * @return
	 */
	public Result exeKitchenQuartz(OwrDoubleTaskPairDto owrDoubleTaskPairDto);
	/**
	 * 双随机-工地和餐厨派发任务清单-手动
	 * @param owrDoubleTaskPairDto
	 * @return
	 */
	public Result sendToTask(OwrDoubleTaskPairDto owrDoubleTaskPairDto);

	/**
	 *
	 * @param owrTmpPairDto
	 * @param pageDto
	 * @return
	 */

	public Result<OwrTmpPairDto> pagination(OwrTmpPairDto owrTmpPairDto,PageDto pageDto);

	public Result<OwrTmpPairDto> pagination(OwrTmpPairDto owrTmpPairDto,PageDto pageDto,Map<String,Object> paramMap);

	public Result<OwrTmpPairDto> selectAll();

	public Result<OwrTmpPairDto> selectById(long id);

	public Result<OwrTmpPairDto> addData(OwrTmpPairDto owrTmpPairDto);

	public Result<OwrTmpPairDto> editData(OwrTmpPairDto owrTmpPairDto);

	public Result deleteById(long id,String adminMan);

}
